package org.jeecg.modules.generator.entity;

import cn.aresoft.excel.annotation.ExcelField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecg.common.api.vo.BaseEntity;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.handler.DictHandler;

/**
* @Description 模板内容配置表模型
* @Author yangfeng
* @Date 2021-06-29 18:03:59
*/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("SYS_GENERATE_TEMPLATE")
@ApiModel(value = "模板内容配置表实体",parent = BaseEntity.class)
public class SysGenerateTemplate {

        /**主键*/
        @TableId(type = IdType.ASSIGN_UUID)
        @ApiModelProperty(value = "主键")
        private java.lang.String  id;

        /**文件类型*/
        @Dict(dicCode = "file_type")
        @ExcelField(title="文件类型",sort=4,required=true,dictType = "file_type")
        @ApiModelProperty(value = "文件类型",required=true)
        private java.lang.String  fileType;


       // @ExcelField(title="关联工程ID",sort=5,required=true)
       // @ApiModelProperty(value = "关联工程ID",required=true)
       // private String systemId;

        /**文件结尾名称*/
        @ExcelField(title="文件结尾名称",sort=5,required=true)
        @ApiModelProperty(value = "文件结尾名称",required=true)
        private String suffixFileName;

        @ExcelField(title="输出相对目录",sort=7,required=true)
        @ApiModelProperty(value = "输出相对目录",required=true)
        private String outPutPath;

        /**模板名称*/
        @ExcelField(title="模板名称",sort=1,required=true)
        @ApiModelProperty(value = "模板名称",required=true)
        private java.lang.String  name;
        /**模板内容*/
        @ExcelField(title="模板内容",sort=2,required=true)
        @ApiModelProperty(value = "模板内容",required=true)
        private java.lang.String  templateContent;
        /**状态*/
        @Dict(dicCode = "common_status")
        @ExcelField(title="状态",sort=3,dictType="common_status")
        @ApiModelProperty(value = "状态")
        private java.lang.String  status;
}
